package Year2021.month10.Day21;

import java.util.Scanner;

public class TeacherTest {
    public static void main(String[] args) {
        JavaTeacher t1 = new JavaTeacher("刘老师", 30, 10, "男");
        t1.selfIntroduce();
        t1.java();


        UiTeacher t2 = new UiTeacher("王老师", 35, 10, "男");
        t2.selfIntroduce();
        t2.UI();


        NetTeacher t3 = new NetTeacher("张老师", 36, 10, "男");
        t3.selfIntroduce();
        t3.net();


    }
}

